package de.hwr.chronix.client.dto;

import java.util.Set;

public class AttendeeDTO implements java.io.Serializable{


    /**
	 * 
	 */
	private static final long serialVersionUID = 3779316467688931383L;
	private Integer id;
    private PollDTO poll;
    private String name;
    private Short priority;
    private Set<TimeslotAttendeeDTO> timeslotAttendees;

   public AttendeeDTO() {
   }

	
   public AttendeeDTO(PollDTO poll, String name) {
       this.poll = poll;
       this.name = name;
   }
   public AttendeeDTO(PollDTO poll, String name, Short priority, Set<TimeslotAttendeeDTO> timeslotAttendees) {
      this.poll = poll;
      this.name = name;
      this.priority = priority;
      this.timeslotAttendees = timeslotAttendees;
   }
  
   public Integer getId() {
       return this.id;
   }
   
   public void setId(Integer id) {
       this.id = id;
   }
   public PollDTO getPoll() {
       return this.poll;
   }
   
   public void setPoll(PollDTO poll) {
       this.poll = poll;
   }
   public String getName() {
       return this.name;
   }
   
   public void setName(String name) {
       this.name = name;
   }
   public Short getPriority() {
       return this.priority;
   }
   
   public void setPriority(Short priority) {
       this.priority = priority;
   }
   public Set<TimeslotAttendeeDTO> getTimeslotAttendees() {
       return this.timeslotAttendees;
   }
   
   public void setTimeslotAttendees(Set<TimeslotAttendeeDTO> timeslotAttendees) {
       this.timeslotAttendees = timeslotAttendees;
   }

	
}
